package lzzy.demo.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
@Component
@PropertySource("classpath:test.properties")
@ConfigurationProperties(prefix="test")
@Data
public class Mypro {
    private  int id;
    private  String name;

}
